package com.conversor;

import com.core.Temperatura.*;
import com.conversor.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);        
    }
    
    /** Called when the user clicks the Send button */
    public void goToTemperature(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, TemperaturaActivity.class);
    	startActivity(intent);
    } 
    
    public void goToMassa(View view){
    	// Do something in response to button
    	Intent intent = new Intent(this, MassaActivity.class);
    	startActivity(intent);
    }
    
    public void goToComprimento(View view){
    	// Do something in response to button
    	Intent intent = new Intent(this, ComprimentoActivity.class);
    	startActivity(intent);
    }
}